package org.jeecg.modules.fk.mapper.manual.model.riskprocesslist;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import lombok.Data;

@Data
public class QuarterRiskReportListRespDTO extends RiskReportListRespDTO {
    //税款所属期
    private String skssq;

    public String getSkssq() {
        DateTime seasonTime = DateTime.of(this.skssqz);
        int year = DateUtil.year(seasonTime); //年
        int season = seasonTime.quarter(); //季度

        this.skssq = year + "年" + season + "季度";
        return skssq;
    }
}
